<?php /* Smarty version Smarty-3.1.18, created on 2014-12-28 22:11:36
         compiled from "application/views/step1.php" */ ?>
<?php /*%%SmartyHeaderCode:24461922554a00f9813a057-15370545%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '0c6d0d3fafa774fe21e8fc3ec6195eb0d3c5386d' => 
    array (
      0 => 'application/views/step1.php',
      1 => 1419237902,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '24461922554a00f9813a057-15370545',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'data' => 0,
    'v' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.18',
  'unifunc' => 'content_54a00f981ddf32_21099795',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_54a00f981ddf32_21099795')) {function content_54a00f981ddf32_21099795($_smarty_tpl) {?>
  <!--container begin-->
  <div id="container" class="fix">
    <div class="crumb"><a href="#">Home</a> &gt; Shipping Address</div>
    <div class="icontainer">
      <div class="cartWrapper">
        <div class="cartPro">
          <h3>Shipping Address</h3>
          <div class="bagArea fix">
            <form id="shippingAddress" method="post" action="/payment" class="formArea">
              <ul class="pt20">
                <li>
                  <label for="firstname"><span class="strong1">*</span> First Name:</label>
                  <input type="text" name="firstname" id="firstname" class="allInput" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['dt']['shipaddr']['firstname'];?>
" maxlength="250"   />
                  <div class="errorInfo"></div>
                </li>
                <li>
                  <label for="lastname"><span class="strong1">*</span> Last Name:</label>
                  <input type="text" name="lastname" id="lastname" class="allInput" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['dt']['shipaddr']['lastname'];?>
" maxlength="250"   />
                  <div class="errorInfo"></div>
                </li>
                <li>
                  <label for="address"><span class="strong1">*</span> Address:</label>
                  <input type="text" name="address" id="address" class="allInput" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['dt']['shipaddr']['address'];?>
" maxlength="320" />
                  <div class="errorInfo"></div>
                </li>
                <li>
                  <label for="city"><span class="strong1">*</span> City /  Town:</label>
                  <input type="text" name="city" id="city" class="allInput" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['dt']['shipaddr']['city'];?>
" maxlength="320" />
                  <div class="errorInfo"></div>
                </li>
                <li>
                  <label for="state"><span class="strong1">*</span> County / State:</label>
                  <input type="text" name="state" id="state" class="allInput" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['dt']['shipaddr']['state'];?>
" maxlength="320" />
                  <div class="errorInfo"></div>
                </li>
                <li >
                  <label for="country"><span class="strong1">*</span> Country:</label>
                  <select name="country" id="country" class="allSelect">
                    <option value="">-Select-</option>
                    <?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
 $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['data']->value['dt']['countrys']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
$_smarty_tpl->tpl_vars['v']->_loop = true;
 $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['v']->key;
?>
                    <option value="<?php echo $_smarty_tpl->tpl_vars['v']->value->iso_code;?>
" temp="2" <?php if ($_smarty_tpl->tpl_vars['data']->value['dt']['shipaddr']['country']==$_smarty_tpl->tpl_vars['v']->value->iso_code) {?>selected="selected"<?php }?>><?php echo $_smarty_tpl->tpl_vars['v']->value->name;?>
</option>
                    <?php } ?>
                  </select>
                  <div class="errorInfo"></div>
                </li>
                <li>
                  <label for="zip"><span class="strong1">*</span> Postal / Zip Code:</label>
                  <input type="text" name="postcode" id="zip" class="allInput" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['dt']['shipaddr']['postcode'];?>
" maxlength="16"   />
                  <div class="errorInfo"></div>
                </li>
                <li >
                  <label for="phone"><span class="strong1">*</span> Phone:</label>
                  <input type="text" name="phone" id="phone" class="allInput" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['dt']['shipaddr']['phone'];?>
" maxlength="320"   />
                  <div class="errorInfo"></div>
                </li>
                <li class="actions">
                  <label>&nbsp;</label>
                  <input type="submit" id="shippingAddressSubmit" class="checkoutBtn" value="Proceed To Checkout" />
                </li>
              </ul>
              <script type="text/javascript">	
	$("#shippingAddress").validate($.extend(formSettings,{
		rules: {
			firstname:"required",
			lastname:"required",
			zip:  "required",
			address: "required",
			city: "required",
			state: "required",
			country: "required",
			phone:  "required"
		}
	}));
</script>
            </form>
          </div>
        </div>
      </div>
    </div>
  </div>
  <!--container end-->
<?php }} ?>
